
using System;
using Abp.Application.Services.Dto;
using System.ComponentModel.DataAnnotations;

namespace Dyan.PlatformSystem.Customers.Dtos
{
    public class CreateOrEditCustomerBaseInfoDto : EntityDto<Guid?>
    {

		[StringLength(CustomerBaseInfoConsts.MaxNameLength, MinimumLength = CustomerBaseInfoConsts.MinNameLength)]
		public string Name { get; set; }

		[StringLength(CustomerBaseInfoConsts.MaxPhoneNumLength, MinimumLength = CustomerBaseInfoConsts.MinPhoneNumLength)]
		public string PhoneNum { get; set; }
		
		
		[StringLength(CustomerBaseInfoConsts.MaxEmailLength, MinimumLength = CustomerBaseInfoConsts.MinEmailLength)]
		public string Email { get; set; }
		
		
		[StringLength(CustomerBaseInfoConsts.MaxCompanyLength, MinimumLength = CustomerBaseInfoConsts.MinCompanyLength)]
		public string Company { get; set; }
		
		
		[StringLength(CustomerBaseInfoConsts.MaxAddressLength, MinimumLength = CustomerBaseInfoConsts.MinAddressLength)]
		public string Address { get; set; }
		
		
		[StringLength(CustomerBaseInfoConsts.MaxSexLength, MinimumLength = CustomerBaseInfoConsts.MinSexLength)]
		public string Sex { get; set; }
		
		
		//[RangeAttribute(CustomerBaseInfoConsts.MinAgeValue, CustomerBaseInfoConsts.MaxAgeValue)]
		public int Age { get; set; }



		public Guid? CustomerAccountId { get; set; }
		public string TenantId { get; set; }

	}
}